package com.koala.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.koala.upms.api.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 系统角色表 Mapper 接口
 * </p>
 *
 * @author zhangchengji
 * @since 2019-05-12
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRole> listRolesByUserId(@Param("userId") Integer userId);

}
